<?php

/**
* @current cmscommentpictures.php
* @author   LiuYang <liu_yang@haibao.com>
* @date 2017年2月8日 下午4:42:04
*/
namespace haibao\jiepai\model\data\comment;

class CmsCommentPictures extends \haibao\jiepai\model\data\Base{
    /**
     * 1,评论 2，回复
     */
    const TYPE_COMMENT = 1;
    const TYPE_REPLY = 2;
    
    /**
     * 删除时置为-1，默认是0
     * 是否是删除
     */
    const FLAG_IS = 0;
    const FLAG_DEL = -1;
    
    public $PictureID;
    
    public $Type;
    
    public $Index;
    
    public $TypeID;
    
    public $Flag;
    
    public function __construct(){
        parent::__construct();

        $this->intField('PictureID', 'PictureID');
        $this->intField('Type', 'Type');
        $this->intField('Index', 'Index');
        $this->intField('TypeID', 'TypeID');
        $this->intField('Flag', 'Flag');

        $this->setTableName('cms_comment_pictures');
    }
}


